﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using enqueteJwVd.DAL;

namespace enqueteJwVd.Services
{
    public class SurveyQuestionService : ISurveyQuestionService
    {
        private UnitOfWork unitOfWork;

        public SurveyQuestionService()
        {
            unitOfWork = new UnitOfWork();
        }

        #region IUserService Members
        public List<SurveyQuestion> GetAllSurveyQuestions()
        {
            return unitOfWork.SurveyQuestionRepository.GetAll().ToList<SurveyQuestion>();
        }
        #endregion

    }
}